-
Notifications
You must be signed in to change notification settings - Fork 53
chore: Add ObjectID to ComputerStatus #251
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
WalkthroughAdds an ObjectId property to CSVComputerStatus, updates its CSV serialization, and propagates that identifier through multiple processors and status reports. Several method signatures were extended to accept object identifiers and corresponding unit tests were adjusted to match the new signatures. Changes
Sequence Diagram(s)sequenceDiagram
autonumber
participant Client
participant Processor
participant CSVStatus as CSVComputerStatus
participant StatusSink
Client->>Processor: Scan(...) / IsComputerAvailable(..., objectId)
rect rgba(230,245,255,0.6)
note right of Processor: Build status payload including ObjectId
Processor->>CSVStatus: instantiate with { Task, ComputerName, Status, ObjectId }
CSVStatus-->>Processor: ToCsv() returns CSV with ObjectId
end
Processor->>StatusSink: Send(status CSV with ObjectId)
StatusSink-->>Client: Acknowledgement / Result
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~25 minutes Suggested reviewers
Poem
Pre-merge checks and finishing touches✅ Passed checks (3 passed)
✨ Finishing touches
🧪 Generate unit tests (beta)
📜 Recent review detailsConfiguration used: CodeRabbit UI Review profile: CHILL Plan: Pro 📒 Files selected for processing (1)
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (1)
🔇 Additional comments (2)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Description
Adding ObjectId to ComputerStatus
Motivation and Context
Resolves: BED-6568
How Has This Been Tested?
This has been tested by creating a build of SharpHound with the updated library, and using running a collection.
Screenshots (if appropriate):
Types of changes
Checklist:
Summary by CodeRabbit